<template>
  <div class="dynamic_form">
    <div class="dynamic_item_list">ss</div>
    <div class="dynamic_item_form"><iframe class="dynamic_iframe" :src="configUrl" frameborder="0"></iframe></div>
    <div class="dynamic_item_attr"></div>
  </div>
</template>

<script>
// import { mapGetters } from 'vuex'

export default {
  name: 'DynamicPage',
  computed: {
    configUrl() {
      return window.location.origin + '/#/dynamicConfig'
    }
  }
}
</script>

<style lang="scss" scoped>
.dynamic_form {
  min-height: calc(100vh - 50px);
  background-color: #f0f2f5;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.dynamic_item_list {
  width: 300px;
  margin: 15px 20px 15px 0;
  border: 1px solid #dcdcdc;
  background-color: #fafafa;
}
.dynamic_item_form {
  width: 375px;
  margin: 15px 20px 15px 0;
}
.dynamic_iframe {
  height: 100%;
  width: 100%;
}
.dynamic_item_attr {
  width: 300px;
}
</style>
